import time
def getTime():
    t=time.strftime('%H:%M:%S',time.localtime(time.time()))
    str='['+t+']'
    return str
